﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="Club.ChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 521px;
        }
        .style2
        {
            width: 135px;
        }
        #btnReset
        {
            width: 84px;
        }
    </style>
    <script type="text/javascript" language="javascript">
       
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="demo">
    <table>        
        <tr>
            <td class="style2">
               
                <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
            </td>
            <td class="style1">
                
                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" width="205px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtPassword" ErrorMessage="*" ForeColor="#CC0000" 
                    ValidationGroup="login"></asp:RequiredFieldValidator>
            </td>
        </tr>
         <tr>
            <td class="style2">
               
                <asp:Label ID="Label3" runat="server" Text="New Password"></asp:Label>
            </td>
            <td class="style1">
                
                <asp:TextBox ID="txtNewPassword" runat="server" TextMode="Password" width="205px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtNewPassword" ErrorMessage="*" ForeColor="#CC0000" 
                    ValidationGroup="login"></asp:RequiredFieldValidator>
            </td>
        </tr>
         <tr>
            <td class="style2">
               
                <asp:Label ID="Label4" runat="server" Text="Confirm Password"></asp:Label>
            </td>
            <td class="style1">
                
                <asp:TextBox ID="txtConfirmPassword" runat="server" TextMode="Password" width="205px"></asp:TextBox>
                 <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtNewPassword" ControlToValidate="txtConfirmPassword" 
                    ErrorMessage="Password not Match" ForeColor="#CC0000" ValidationGroup="login"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="style2">                                
            </td>
            <td class="style1">                
                <asp:Button ID="btnLogin" runat="server" onclick="btnChangePassword_Click" Text="Change Password" 
                    ValidationGroup="login" Width="120px" EnableViewState="False" />
                <input type="button" ID="btnReset" value="Reset" onclick="btnreset_ChangePassword_onclick();" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                
            </td>
        </tr>        
    </table>
    </div>
</asp:Content>
